from rest_framework import serializers
from UserApp.models import *


class UserSer(serializers.ModelSerializer):

    class Meta:
        model = User
        fields = '__all__'
        depth = 1

class WorkOrderSerializer(serializers.ModelSerializer):
    class Meta:
        model = Cate
        fields = '__all__'